HOME BLOG GITHUB
Storing Characters Storing Information on a Computer Storing Information on a Computer Storing Songs Storing Songs Storing Information on a Computer->Storing Songs Storing Images Storing Images Storing Information on a Computer->Storing Images Storing Characters Storing Characters Storing Information on a Computer->Storing Characters Storing Numbers Storing Numbers Storing Information on a Computer->Storing Numbers Computer Memories Computer Memories Storing Information on a Computer->Computer Memories ASCII ASCII Storing Characters->ASCII UTF UTF Storing Characters->UTF UTF-32 UTF-32 UTF->UTF-32 UTF-8 UTF-8 UTF->UTF-8 UTF-16 UTF-16 UTF->UTF-16

November 29, 2020

Storing Characters

Just another conversion between data types.

In a computer, we often need to store text, so we need a way to store characters.

Characters are stored using a convention that we define in advance, saying how to convert a character into a storable data.

In computers, data can only be stored as numbers. So these conventions are telling the computer (or the program that reads the memory of the computer) how to convert numbers into characters. The conventions are called encodings.

There exists different encodings. The most common ones include:

  • ASCII: American Standard Code for Information Interchange, the most basic encoding for the English language.

  • UTF: Unicode Transformation Format. How do we handle other languages?